package com.ll.SchoolSafe.Service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ll.SchoolSafe.Dao.ScoreDao;
import com.ll.SchoolSafe.Service.ScoreService;
import com.ll.SchoolSafe.pojo.Score;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ScoreServiceImpl extends ServiceImpl<ScoreDao, Score> implements ScoreService {
    @Autowired
    private ScoreDao scoreDao;
    public Score getScoreByStudentId(Integer studentId) {
        return scoreDao.getScoreByStudentId(studentId);

    }
}
